//
//  FPSettleModel.h
//  FinanceProject
//
//  Created by 陈显摆 on 2025/2/19.
//

#import <JSONModel/JSONModel.h>

NS_ASSUME_NONNULL_BEGIN

@interface FPSettleModel : JSONModel

@property (nonatomic , strong) NSString *amount;
@property (nonatomic , strong) NSString *createTime;
@property (nonatomic , strong) NSString *firstRepaymentDate; //!<     首期还款日期
@property (nonatomic , strong) NSString *ID;
@property (nonatomic , strong) NSString *interestRate;

@property (nonatomic , strong) NSString *lengthOfMaturity;
@property (nonatomic , strong) NSString *loanPurpose;
@property (nonatomic , strong) NSString *repaymentMethod;
@property (nonatomic , strong) NSString *repaymentStatus;
@property (nonatomic , strong) NSString *status;

@property (nonatomic , strong) NSString *userBankCardId;
@property (nonatomic , strong) NSString *userId;
@property (nonatomic , strong) NSString *lastRepaymentDate; //!< 最后还款日期
@property (nonatomic , strong) NSString *auditPassageTime; //!< 审核通过时间
@property (nonatomic , strong) NSString *lendersTime;  //!< 放款日期

@property (nonatomic , strong) NSString *contractNumber;  //!< 合同编号
@property (nonatomic , strong) NSString *proofDateIssuance;  //!< 证明开具时间



+ (void)getSettleListInfoSuccess:(void (^)(NSInteger code , NSString *message , NSArray *list))success failure:(void (^)(NSError *error))failure;

+ (void)getSettleDetailWithID:(NSString *)ID success:(void (^)(NSInteger code , NSString *message , FPSettleModel *model))success failure:(void (^)(NSError *error))failure;

@end

NS_ASSUME_NONNULL_END
